input = {
	oldmx=0,oldmy=0,
	mx=0, my=0
}
function input.mousePos()
	return love.mouse.getPosition()
end
function input.mouseMoved()
	input.oldmx,input.oldmy = input.mx,input.my
	input.mx,input.my = input.mousePos()
	return (not(input.oldmx == input.mx and input.oldmy == input.my)), input.mx,input.y
end
function input.mouseDown(button)
	if button == 1 then button = "l" end
	if button == 2 then button = "r" end
	if button == 3 then button = "m" end
	local res = love.mouse.isDown( button )
	return res
end